package com.hjx.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * (SysDepartmentManager)实体类
 *
 * @author makejava
 * @since 2020-06-09 08:07:17
 */
public class SysDepartmentManager implements Serializable {
    private static final long serialVersionUID = 887528057692122690L;
    /**
    * 部门管理编号
    */
    private String dmId;
    /**
    * 部门管理人编号
    */
    private SysUser user = new SysUser();
    /**
    * 管理的部门的编号
    */
    private List<SysDepartment> departments = new ArrayList<>();

    public String getDmId() {
        return dmId;
    }

    public SysDepartmentManager setDmId(String dmId) {
        this.dmId = dmId;
        return this;
    }

    public SysUser getUser() {
        return user;
    }

    public SysDepartmentManager setUser(SysUser user) {
        this.user = user;
        return this;
    }

    public List<SysDepartment> getDepartments() {
        return departments;
    }

    public SysDepartmentManager setDepartments(List<SysDepartment> departments) {
        this.departments = departments;
        return this;
    }
}
